home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / Interfaces / QD3DString.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-14  |  1.9 KB  |  80 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        QD3DString.h                                              **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **     Purpose:                                                                **
  7.  **                                                                          **
  8.  **                                                                          **
  9.  **                                                                          **
  10.  **     Copyright (C) 1994-1995 Apple Computer, Inc. All rights reserved.     **
  11.  **                                                                          **
  12.  **                                                                          **
  13.  *****************************************************************************/
  14. #ifndef QD3DString_h
  15. #define QD3DString_h
  16.  
  17. #ifndef QD3D_h
  18. #include <QD3D.h>
  19. #endif  /*  QD3D_h  */
  20.  
  21. #if PRAGMA_ONCE
  22.     #pragma once
  23. #endif
  24.  
  25. #if defined(__MWERKS__)
  26.     #pragma enumsalwaysint on
  27.     #pragma align_array_members off
  28.     #pragma options align=native
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif /*  __cplusplus  */
  34.  
  35.  
  36. /******************************************************************************
  37.  **                                                                             **
  38.  **                                String Routines                                 **
  39.  **                                                                             **
  40.  *****************************************************************************/
  41.  
  42. TQ3ObjectType Q3String_GetType(
  43.     TQ3StringObject        stringObj);
  44.  
  45.  
  46. /******************************************************************************
  47.  **                                                                             **
  48.  **                        C String Routines                                     **
  49.  **                                                                             **
  50.  *****************************************************************************/
  51.  
  52. TQ3StringObject Q3CString_New(
  53.     const char                *string);
  54.  
  55. TQ3Status Q3CString_GetLength(
  56.     TQ3StringObject            stringObj,
  57.     unsigned long            *length);
  58.  
  59. TQ3Status Q3CString_SetString(
  60.     TQ3StringObject            stringObj,
  61.     const char                *string);
  62.  
  63. TQ3Status Q3CString_GetString(
  64.     TQ3StringObject            stringObj,
  65.     char                    **string);
  66.  
  67. TQ3Status Q3CString_EmptyData(
  68.     char                    **string);
  69.  
  70. #ifdef __cplusplus
  71. }
  72. #endif /*  __cplusplus  */
  73.  
  74. #if defined(__MWERKS__)
  75. #pragma options align=reset
  76. #pragma enumsalwaysint reset
  77. #endif
  78.  
  79. #endif  /*  QD3DString_h  */
  80.